﻿#pragma once
#ifndef GAME_SCENE
#define GAME_SCENE

#include "cocos2d.h"

class PlayerSprite;
class Start;

class GameScene : public cocos2d::Scene {

public:
	CREATE_FUNC(GameScene);

	cocos2d::Size vs;

	virtual bool init();

	void onExit() override;

	cocos2d::Sprite* background=nullptr;
	PlayerSprite* player = nullptr;
	Start* star = nullptr;

protected:
	void initBackground();
	void initGround();
	void initPlayer();
	void initStar();
};

#endif GAME_SCENE
